home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 12: Textmags & Docs / nf_archive_12.iso / MAGS / SOURCES / ATARI_SRC.ZIP / atari source / DSMODS / PORTAB.H < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-10  |  2.0 KB  |  52 lines

  1. #define mc68k 0
  2. /****************************************************************************
  3. *
  4. *      C P / M   C   R U N   T I M E   L I B   H E A D E R   F I L E
  5. *      -------------------------------------------------------------
  6. *    Copyright 1982 by Digital Research Inc.  All rights reserved.
  7. *
  8. *    This is an include file for assisting the user to write portable
  9. *    programs for C.
  10. *
  11. ****************************************************************************/
  12. #define UCHARA 1                /* if char is unsigned     */
  13. /*
  14.  *    Standard type definitions
  15.  */
  16. #define    BYTE    char                /* Signed byte           */
  17. #define BOOLEAN    int                /* 2 valued (true/false)   */
  18. #define    WORD    int                  /* Signed word (16 bits)   */
  19. #define    UWORD    unsigned int            /* unsigned word       */
  20.  
  21. #define    LONG    long                /* signed long (32 bits)   */
  22. #define    ULONG    long                /* Unsigned long       */
  23.  
  24. #define    REG    register            /* register variable       */
  25. #define    LOCAL    auto                /* Local var on 68000       */
  26. #define    EXTERN    extern                /* External variable       */
  27. #define    MLOCAL    static                /* Local to module       */
  28. #define    GLOBAL    /**/                /* Global variable       */
  29. #define    VOID    /**/                /* Void function return       */
  30. #define    DEFAULT    int                /* Default size           */
  31.  
  32. #ifdef UCHARA
  33. #define UBYTE    char                /* Unsigned byte        */
  34. #else
  35. #define    UBYTE    unsigned char            /* Unsigned byte       */
  36. #endif
  37.  
  38. /****************************************************************************/
  39. /*    Miscellaneous Definitions:                        */
  40. /****************************************************************************/
  41. #define    FAILURE    (-1)            /*    Function failure return val */
  42. #define SUCCESS    (0)            /*    Function success return val */
  43. #define    YES    1            /*    "TRUE"                */
  44. #define    NO    0            /*    "FALSE"                */
  45. #define    FOREVER    for(;;)            /*    Infinite loop declaration   */
  46. #define    NULL    0            /*    Null pointer value        */
  47. #define NULLPTR (char *) 0        /*                    */
  48. #define    EOF    (-1)            /*    EOF Value            */
  49. #define    TRUE    (1)            /*    Function TRUE  value        */
  50. #define    FALSE    (0)            /*    Function FALSE value        */
  51.  
  52.